#ifndef PAINTER_WEATHER_H
#define PAINTER_WEATHER_H

#include <QObject>
#include <QWidget>
#include <QLabel>

#include <QPen>
#include <QBrush>
#include <QPainter>
#include <QColor>
#include <QFont>
#include <QPoint>


class PAINTER_weather:public QLabel
{
    Q_OBJECT
public:
    PAINTER_weather();
protected:
    int temp[7] = {26,23,22,25,25,24,22};
    QColor lind_color;
public:
    void set_temp(const int temp[]);
    void set_hl_color(bool color);
public:
    void mouseDoubleClickEvent(QMouseEvent *event);
    void paintEvent(QPaintEvent *event);
};

#endif // PAINTER_WEATHER_H
